package com.itheima.controller;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.itheima.pojo.*;
import com.itheima.service.ClazzService;
import com.itheima.service.impl.ClazzServiceImpl;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import java.time.LocalDateTime;

@Slf4j
@RequestMapping("/controller")
@RestController
public class ClazzController {
    @PostMapping("/rj")
    public Result save(@RequestBody Controller controller){
        log.info("新增控制方法：{}",controller);
        System.out.println("RJ");
        return Result.success();
    }
}
